<div class="wrap">
  <p data-pm-slice="0 0 []">
    <span style="color: #e394dc;"><span leaf="">「旋转木马」是游乐园里的招牌，也是让许多人流连忘返的游乐设施。在精美的木造圆环中，无数马匹优雅自在地在空中尽情奔驰，加上灯火的五光十色，让人仿佛置身童话世界般美好难忘。今天为大家带来旋转木马插画特辑。快来看看吧。</span></span>
  </p>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000313" data-imgqrcoded="1" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n74cic3bHSLYLiaBiaATuJN4JABOOZpsBhSPyZssJDLQfRSFicCz7lc9hK8Q/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n74cic3bHSLYLiaBiaATuJN4JABOOZpsBhSPyZssJDLQfRSFicCz7lc9hK8Q/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000314" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7z10BwouuoZibgib3iamuUEOiclHhDqAWszTxrMJFJJ4icqP2x9D645ibT1eQ/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7z10BwouuoZibgib3iamuUEOiclHhDqAWszTxrMJFJJ4icqP2x9D645ibT1eQ/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000315" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7OZ6gQLnfCqbTQpDAJRfjIYKkfxbN6dsAvJ6C6HiahNaj2yt8Jz5oAgw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7OZ6gQLnfCqbTQpDAJRfjIYKkfxbN6dsAvJ6C6HiahNaj2yt8Jz5oAgw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000317" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n73KDd4oCtjHZgNEBsnBP3Zho8qbkZVUr6U2x4vjgpZHGkPdablicbWgQ/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n73KDd4oCtjHZgNEBsnBP3Zho8qbkZVUr6U2x4vjgpZHGkPdablicbWgQ/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000316" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ia9goCcGkBjVe8jDXsrvGibz5LrHdXZ0BJB7hmkn1zcD5cyzC5n5YBUQ/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ia9goCcGkBjVe8jDXsrvGibz5LrHdXZ0BJB7hmkn1zcD5cyzC5n5YBUQ/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000318" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7oqurrXjBj2robfKyibD8gEhRmwrUO6BOHEXpAhpIBAOG1w1pRTibbMww/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7oqurrXjBj2robfKyibD8gEhRmwrUO6BOHEXpAhpIBAOG1w1pRTibbMww/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000319" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ia708IW0SmJJcRD8icDXXia5vZiaC02Rw63npibjc64bO4n0MUdYnDdTFZw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ia708IW0SmJJcRD8icDXXia5vZiaC02Rw63npibjc64bO4n0MUdYnDdTFZw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000320" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7RhRWJYebIdTsJlVjsiaK2G6UnhLpJjuNh3j24BOF9Lo32R5lsLoU02w/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7RhRWJYebIdTsJlVjsiaK2G6UnhLpJjuNh3j24BOF9Lo32R5lsLoU02w/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000322" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7g5G5ll5niaibKupy8p3eCATHoriaovtLZ5XHgVoXS8UGRibsVyU6nVFBhw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7g5G5ll5niaibKupy8p3eCATHoriaovtLZ5XHgVoXS8UGRibsVyU6nVFBhw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000321" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ibBXGONaXQd6WZ1sSZ2UTZV7K6yWSrtaxReCN46ndoic1TD3e3Oiaf0Gw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ibBXGONaXQd6WZ1sSZ2UTZV7K6yWSrtaxReCN46ndoic1TD3e3Oiaf0Gw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000323" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7RSCcUpYGFT3PpLPk1RpTQl3DoL2ReOZ0GqTaicpQicvT6cZ2ulbzwsAg/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7RSCcUpYGFT3PpLPk1RpTQl3DoL2ReOZ0GqTaicpQicvT6cZ2ulbzwsAg/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000324" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7VBYkw6DD6huHLkTGnmhEZj1IFuRYylib7JtuyCZiaIdaicsiaFiba3fl5vA/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7VBYkw6DD6huHLkTGnmhEZj1IFuRYylib7JtuyCZiaIdaicsiaFiba3fl5vA/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000325" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7NyQ1LiceGm7MLEZ3YI0C5YYXV4W4zTAoerC4cicGboK94TNkbzXIXThw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7NyQ1LiceGm7MLEZ3YI0C5YYXV4W4zTAoerC4cicGboK94TNkbzXIXThw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000326" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7oFGvs1iclaGNHZM1YYa6pqLatRczvtRngpVjyVIicuiaXcrWnicibhkcaPg/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7oFGvs1iclaGNHZM1YYa6pqLatRczvtRngpVjyVIicuiaXcrWnicibhkcaPg/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000328" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7U1nAl68I5cgDKC4qTXH29bZ4XIuxNKl9Myc8ich4Mw0agWJ0dDwpgcw/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7U1nAl68I5cgDKC4qTXH29bZ4XIuxNKl9Myc8ich4Mw0agWJ0dDwpgcw/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section style="text-align: center;" nodeleaf="">
    <img class="rich_pages wxw-img js_insertlocalimg" data-s="300,640" data-type="jpeg" type="block" data-imgfileid="100000327" data-imgqrcoded="1" data-upload="1" data-src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ctkuwhhdP8acSpR99UjmmBta3b2EBpgohZrTEfAtgbkjPLuqhmAkug/0?wx_fmt=jpeg&amp;from=appmsg" src="https://mmbiz.qpic.cn/sz_mmbiz_jpg/EFiarTce5OnVKBL4PVPmF0un5kia1sr4n7ctkuwhhdP8acSpR99UjmmBta3b2EBpgohZrTEfAtgbkjPLuqhmAkug/0?wx_fmt=jpeg&amp;from=appmsg">
  </section>
  <section>
    <span leaf=""><br></span>
  </section>
  <p style="display: none;">
    <mp-style-type data-value="3">
    </mp-style-type>
  </p>
  
</div>


<script>
  let str = '';
  const sections = document.querySelectorAll('.wrap section[nodeleaf]');

  sections.forEach((section, index) => {
    const img = section.querySelector('img');
    const src = img.getAttribute('src');

    // 创建新的 section 元素字符串
    const newSection = `
          <section style="width: 48%;margin-bottom: 20px;">
              <span leaf="">
                  <img 
                      data-src="${src}" 
                      class="rich_pages wxw-img" 
                      data-ratio="1.3318534961154274" 
                      data-w="901" 
                      style="width: 100%;border-radius: 15px;box-shadow: 0 5px 15px rgba(0,0,0,0.1);transition: transform 0.3s;" 
                      data-imgqrcoded="1" 
                      src="${src}"
                  >
              </span>
          </section>
      `;

    str += newSection;
  });

  let finalstr = `
    <section style="max-width: 1200px;margin: 0 auto;padding: 20px;font-family: Arial, sans-serif;">
    <section
      style="background: linear-gradient(135deg, #ff6b6b, #4ecdc4);padding: 30px;border-radius: 20px;box-shadow: 0 10px 20px rgba(0,0,0,0.1);margin-bottom: 40px;color: white;text-align: center;">
      <p style="font-size: 18px;line-height: 1.6;margin: 0;">
        <span
          leaf="">${document.querySelector("body > div.wrap > p:nth-child(1) > span:nth-child(1)").innerHTML}</span>
      </p>
    </section>
    <section style="display: flex;flex-wrap: wrap;gap: 20px;justify-content: center;">
      
    ${str}

    </section>
    <section nodeleaf="">
      <mp-common-miniprogram class="js_uneditable custom_select_card mp_miniprogram_iframe"
        data-pluginname="insertminiprogram" data-miniprogram-path="pages/wallpaper/index" data-miniprogram-nickname="工具司"
        data-miniprogram-avatar="http://mmbiz.qpic.cn/mmbiz_png/MGFgme0icW9s3OH8FdqNSHbq4ibcnOr5E8FJ16faltRbibIeJyicw8UUdiaCSX4Lbv1Xcmef0KyoVka9hmEU1WVHfqA/640?wx_fmt=png&amp;wxfrom=200"
        data-miniprogram-title="小程序搜索标题获取原图"
        data-miniprogram-imageurl="http://mmbiz.qpic.cn/sz_mmbiz_jpg/cVBHsRNuuhcV7QGV4cxXJAVPicOR3onxEZ5HRTJcRDK69hShgD1fzKFeYAwMicyt6pmU4jlpibPmCNtCtE2LxIjpQ/0?wx_fmt=jpeg"
        data-miniprogram-type="card" data-miniprogram-servicetype="0" data-miniprogram-appid="wx4603f26d4e47c72c"
        data-miniprogram-applink="#小程序://工具司/aTQYrVIpkdnqmGE"
        data-miniprogram-imageurlback="http%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FcVBHsRNuuhfgmPKicxOWmk7c4LMWW7g9306DBdppdqdruyoBJgXwME5z2iaJiaXXIZtcXkC6fQ1owoic9MD8f0KOMA%2F0%3Fwx_fmt%3Djpeg"
        data-miniprogram-cropperinfo="%7B%22c%22%3A%7B%22x%22%3A18%2C%22y%22%3A0%2C%22x2%22%3A190.5%2C%22y2%22%3A138%2C%22w%22%3A172.5%2C%22h%22%3A138%7D%7D">
      </mp-common-miniprogram>
    </section>
  </section>
  <p style="display: none;">
    <mp-style-type data-value="3">
    </mp-style-type>
  </p>
  `
  console.log(finalstr);
</script>